@layout("/common/_container.html",{js:["/assets/ums/member/member.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">会员信息表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="输入姓名或手机号"/>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
<!--                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>-->
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="memberTable" lay-filter="memberTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 会员认证审核窗口 -->
<div id="div_member_validate" style="display: none">

    <form class="layui-form" id="memberValidate" lay-filter="memberValidate">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="memberId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">姓名</label>
                        <div class="layui-input-block">
                            <input id="name" name="name"  disabled  type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">手机号码</label>
                        <div class="layui-input-block">
                            <input id="phone" name="phone" disabled type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">性别</label>
                        <div class="layui-input-block">
                            <input id="sex" name="sex"  disabled  type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">身份证号码</label>
                        <div class="layui-input-block">
                            <input id="idNumber" name="idNumber" disabled type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">申请角色</label>
                        <div class="layui-input-block">
                            <input id="memberRole" name="memberRole" disabled type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </form>
</div>



<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-info layui-btn-xs" lay-event="edit">启用</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">冻结</a>
</script>

<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="status" value="{{d.memberId}}" lay-skin="switch" lay-text="${lang.get("BTN_ACTIVE")}|${lang.get("BTN_DISABLE")}" {{d.status=='ENABLE'?'checked':''}} />
</script>
@}